package com.wlp.test.service.Impl;

import com.wlp.test.entity.student;
import com.wlp.test.service.studentService;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Author 韦蓝平
 * @Date 2022/5/30 15:15
 * @Version 1.0
 */
@Component
public class studentServiceImpl implements studentService {

    @Override
    public void Student(String name, String age) {
        student student = new student(name,age);
        System.out.println(student.getName()+","+student.getAge());
    }
}
